/*
 * @Description: 按需加载elementui组件
 * @Author: zheng yiliang
 * @Date: 2021-04-24 09:44:51
 * @LastEditTime: 2021-06-11 14:09:22
 * @LastEditors: zheng yiliang
 */
import Vue from 'vue'
import {
  Avatar,
  // Timeline,
  // TimelineItem,
  Button,
  // PageHeader,
  // Breadcrumb,
  // BreadcrumbItem,
  Calendar,
  // Submenu,
  // MenuItemGroup,
  Backtop,
  Popover,
  Badge,
  // Container,
  // Main,
  // Header,
  // Footer,
  // Aside,
  // Row,
  // Col,
  Form,
  FormItem,
  Input,
  Carousel,
  CarouselItem,
  Menu,
  MenuItem,
  Drawer,
  // InfiniteScroll,
  Message,
  Collapse,
  CollapseItem
} from 'element-ui'

import 'element-ui/lib/theme-chalk/index.css'

Vue.use(Calendar)
Vue.use(Badge)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(Form)
Vue.use(Input)
Vue.use(FormItem)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Button)
Vue.use(Popover)
Vue.use(Backtop)
Vue.use(Drawer)
Vue.use(Avatar)
Vue.prototype.$message = Message
